package com.zhiyou.app.shop.website.dao.pojo;

import java.sql.Timestamp;


/**
 * News entity. @author MyEclipse Persistence Tools
 */

public class News  implements java.io.Serializable {


    // Fields    

     private String id;
     private String title;
     private String content;
     private Timestamp createDate;
     private String writerId;
     private String type;
     private String flag;


    // Constructors

    /** default constructor */
    public News() {
    }

    
    /** full constructor */
    public News(String title, String content, Timestamp createDate, String writerId, String type, String flag) {
        this.title = title;
        this.content = content;
        this.createDate = createDate;
        this.writerId = writerId;
        this.type = type;
        this.flag = flag;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    public String getWriterId() {
        return this.writerId;
    }
    
    public void setWriterId(String writerId) {
        this.writerId = writerId;
    }

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }


	public String getFlag() {
		return flag;
	}


	public void setFlag(String flag) {
		this.flag = flag;
	}
   







}